/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const zjDemo = {
  path: '/zj-demo',
  component: Layout,
  redirect: '/zj-demo/vxe-basetable',
  name: 'zj-demo',
  meta: {
    title: 'zjDemo',
    icon: 'table'
  },
  children: [
    {
      path: 'vxe-basetable',
      component: () => import('@/views/ZjDemo/VxeBasetable/index'),
      name: 'zd-vxe-basetable',
      meta: { title: 'zdVxeBasetable' }
    },
    {
      path: 'vxe-treetable',
      component: () => import('@/views/ZjDemo/VxeTreetable/index'),
      name: 'zd-vxe-treetable',
      meta: { title: 'zdVxetreetable' }
    },
    {
      path: 'merge-cells',
      component: () => import('@/views/ZjDemo/MergeCells/index'),
      name: 'zd-merge-cells',
      meta: { title: 'zdMergeCells' }
    },
    {
      path: 'pop-base-table',
      component: () => import('@/views/ZjDemo/PopBaseTable/index'),
      name: 'zd-pop-base-table',
      meta: { title: 'zdPopBaseTable' }
    },
    {
      path: 'pop-tree-table',
      component: () => import('@/views/ZjDemo/PopTreeTable/index'),
      name: 'zd-pop-tree-table',
      meta: { title: 'zdPopTreeTable' }
    },
    // {
    //   path: 'inline-edit-table',
    //   component: () => import('@/views/table/inline-edit-table'),
    //   name: 'InlineEditTable',
    //   meta: { title: 'Inline Edit' }
    // },
    // {
    //   path: 'complex-table',
    //   component: () => import('@/views/table/complex-table'),
    //   name: 'ComplexTable',
    //   meta: { title: 'Complex 表格' }
    // }
  ]
}
export default zjDemo
